<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Nabu-asr: nabu.neuralnetworks.recognizer.Recognizer Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Nabu-asr
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacenabu.html">nabu</a></li><li class="navelem"><b>neuralnetworks</b></li><li class="navelem"><b>recognizer</b></li><li class="navelem"><a class="el" href="classnabu_1_1neuralnetworks_1_1recognizer_1_1Recognizer.html">Recognizer</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classnabu_1_1neuralnetworks_1_1recognizer_1_1Recognizer-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">nabu.neuralnetworks.recognizer.Recognizer Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>a <a class="el" href="classnabu_1_1neuralnetworks_1_1recognizer_1_1Recognizer.html" title="a Recognizer can use a model to produce decode ">Recognizer</a> can use a model to produce decode  
 <a href="classnabu_1_1neuralnetworks_1_1recognizer_1_1Recognizer.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for nabu.neuralnetworks.recognizer.Recognizer:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classnabu_1_1neuralnetworks_1_1recognizer_1_1Recognizer.png" usemap="#nabu.neuralnetworks.recognizer.Recognizer_map" alt=""/>
  <map id="nabu.neuralnetworks.recognizer.Recognizer_map" name="nabu.neuralnetworks.recognizer.Recognizer_map">
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aefc5adf4898ab20af3e1139315875af6"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnabu_1_1neuralnetworks_1_1recognizer_1_1Recognizer.html#aefc5adf4898ab20af3e1139315875af6">__init__</a> (self, model, conf, dataconf, expdir)</td></tr>
<tr class="memdesc:aefc5adf4898ab20af3e1139315875af6"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classnabu_1_1neuralnetworks_1_1recognizer_1_1Recognizer.html" title="a Recognizer can use a model to produce decode ">Recognizer</a> constructor.  <a href="#aefc5adf4898ab20af3e1139315875af6">More...</a><br /></td></tr>
<tr class="separator:aefc5adf4898ab20af3e1139315875af6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab95ac6d35a714605fdad9622991e9bc0"><td class="memItemLeft" align="right" valign="top"><a id="ab95ac6d35a714605fdad9622991e9bc0"></a>
def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnabu_1_1neuralnetworks_1_1recognizer_1_1Recognizer.html#ab95ac6d35a714605fdad9622991e9bc0">recognize</a> (self)</td></tr>
<tr class="memdesc:ab95ac6d35a714605fdad9622991e9bc0"><td class="mdescLeft">&#160;</td><td class="mdescRight">perform the recognition <br /></td></tr>
<tr class="separator:ab95ac6d35a714605fdad9622991e9bc0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:ade94e69c97502544bf974ade1fb15fda"><td class="memItemLeft" align="right" valign="top"><a id="ade94e69c97502544bf974ade1fb15fda"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>conf</b></td></tr>
<tr class="separator:ade94e69c97502544bf974ade1fb15fda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41161651265f3d1947223a55c40b544e"><td class="memItemLeft" align="right" valign="top"><a id="a41161651265f3d1947223a55c40b544e"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>expdir</b></td></tr>
<tr class="separator:a41161651265f3d1947223a55c40b544e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88576eae467e9292beea9d7e3c1a2ee7"><td class="memItemLeft" align="right" valign="top"><a id="a88576eae467e9292beea9d7e3c1a2ee7"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>model</b></td></tr>
<tr class="separator:a88576eae467e9292beea9d7e3c1a2ee7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1984814422405de39408ebede0d64747"><td class="memItemLeft" align="right" valign="top"><a id="a1984814422405de39408ebede0d64747"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>input_dataconfs</b></td></tr>
<tr class="separator:a1984814422405de39408ebede0d64747"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab34756458fcad22d50bf899d40b22f43"><td class="memItemLeft" align="right" valign="top"><a id="ab34756458fcad22d50bf899d40b22f43"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>decoder</b></td></tr>
<tr class="separator:ab34756458fcad22d50bf899d40b22f43"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a29cc0a7acade9776bc996444b468cf"><td class="memItemLeft" align="right" valign="top"><a id="a1a29cc0a7acade9776bc996444b468cf"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>batch_size</b></td></tr>
<tr class="separator:a1a29cc0a7acade9776bc996444b468cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af52b1ea3cf0d8a76296c27560d9fcf63"><td class="memItemLeft" align="right" valign="top"><a id="af52b1ea3cf0d8a76296c27560d9fcf63"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>graph</b></td></tr>
<tr class="separator:af52b1ea3cf0d8a76296c27560d9fcf63"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a18c10aa17025073daaa0be5cc426ac"><td class="memItemLeft" align="right" valign="top"><a id="a4a18c10aa17025073daaa0be5cc426ac"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>names</b></td></tr>
<tr class="separator:a4a18c10aa17025073daaa0be5cc426ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a6495da44486d060625c295ce5ea107"><td class="memItemLeft" align="right" valign="top"><a id="a4a6495da44486d060625c295ce5ea107"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>numbatches</b></td></tr>
<tr class="separator:a4a6495da44486d060625c295ce5ea107"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7956e4fa37c2c389e535ea48f55e7504"><td class="memItemLeft" align="right" valign="top"><a id="a7956e4fa37c2c389e535ea48f55e7504"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>decoded</b></td></tr>
<tr class="separator:a7956e4fa37c2c389e535ea48f55e7504"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1f6c24dcd83684c6933d0c84ef5de1e"><td class="memItemLeft" align="right" valign="top"><a id="ac1f6c24dcd83684c6933d0c84ef5de1e"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>eval_summary</b></td></tr>
<tr class="separator:ac1f6c24dcd83684c6933d0c84ef5de1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa16afc21da4fabadb363ea464fc50a1f"><td class="memItemLeft" align="right" valign="top"><a id="aa16afc21da4fabadb363ea464fc50a1f"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>variable_summary</b></td></tr>
<tr class="separator:aa16afc21da4fabadb363ea464fc50a1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>a <a class="el" href="classnabu_1_1neuralnetworks_1_1recognizer_1_1Recognizer.html" title="a Recognizer can use a model to produce decode ">Recognizer</a> can use a model to produce decode </p>
<p>stores the results on disk </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="aefc5adf4898ab20af3e1139315875af6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aefc5adf4898ab20af3e1139315875af6">&sect;&nbsp;</a></span>__init__()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def nabu.neuralnetworks.recognizer.Recognizer.__init__ </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>model</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>conf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>dataconf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>expdir</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><a class="el" href="classnabu_1_1neuralnetworks_1_1recognizer_1_1Recognizer.html" title="a Recognizer can use a model to produce decode ">Recognizer</a> constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">model</td><td>the model to be tested </td></tr>
    <tr><td class="paramname">conf</td><td>the recognizer configuration as a configparser </td></tr>
    <tr><td class="paramname">modelconf</td><td>the model configuration as a configparser </td></tr>
    <tr><td class="paramname">dataconf</td><td>the database configuration as a configparser </td></tr>
    <tr><td class="paramname">expdir</td><td>the experiments directory </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="recognizer_8py.html">recognizer.py</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.12
</small></address>
</body>
</html>
